
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>分组卡片组件 · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="../ibiz-select-tree/" />
    
    
    <link rel="prev" href="../" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    简介
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.2" data-path="./">
            
                <a href="./">
            
                    
                    分组卡片组件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="../ibiz-select-tree/">
            
                <a href="../ibiz-select-tree/">
            
                    
                    树选择组件
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >分组卡片组件</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h2 id="&#x5206;&#x7EC4;&#x6570;&#x636E;">&#x5206;&#x7EC4;&#x6570;&#x636E;</h2>
<p>&#x63D0;&#x4F9B;&#x6570;&#x636E;&#x8FDB;&#x884C;&#x5206;&#x7EC4;&#x5C55;&#x793A;&#x6548;&#x679C;</p>
<h3 id="&#x57FA;&#x672C;&#x7528;&#x6CD5;">&#x57FA;&#x672C;&#x7528;&#x6CD5;</h3>
<pre><code class="lang-html"><span class="hljs-tag">&lt;<span class="hljs-name">ibiz-group-card</span> <span class="hljs-attr">:data</span>=<span class="hljs-string">&quot;cardItems&quot;</span> <span class="hljs-attr">text</span>=<span class="hljs-string">&quot;label&quot;</span> <span class="hljs-attr">value</span>=<span class="hljs-string">&quot;id&quot;</span> <span class="hljs-attr">groupName</span>=<span class="hljs-string">&quot;group&quot;</span> <span class="hljs-attr">:multiple</span>=<span class="hljs-string">&quot;multiple&quot;</span> <span class="hljs-attr">:defaultSelect</span>=<span class="hljs-string">&quot;cardSelctVal&quot;</span> @<span class="hljs-attr">select</span>=<span class="hljs-string">&quot;groupSelect&quot;</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">ibiz-group-card</span>&gt;</span>
</code></pre>
<p>&#x6548;&#x679C;&#x5982;&#x4E0B;&#xFF1A;</p>
<p><img src="demo.png" alt="preview img"></p>
<h2 id="api">API</h2>
<h3 id="props">props</h3>
<table>
<thead>
<tr>
<th>&#x53C2;&#x6570;</th>
<th>&#x8BF4;&#x660E;</th>
<th>&#x7C7B;&#x578B;</th>
<th>&#x53EF;&#x9009;&#x503C;</th>
<th>&#x9ED8;&#x8BA4;&#x503C;</th>
</tr>
</thead>
<tbody>
<tr>
<td>data</td>
<td>&#x6570;&#x636E;&#x96C6;</td>
<td>Array</td>
<td>&#x2014;</td>
<td>&#x2014;</td>
</tr>
<tr>
<td>multiple</td>
<td>&#x662F;&#x5426;&#x591A;&#x9009;</td>
<td>boolean</td>
<td>&#x2014;</td>
<td>true</td>
</tr>
<tr>
<td>groupName</td>
<td>&#x5206;&#x7EC4;&#x540D;&#x79F0;&#xFF08;&#x9ED8;&#x8BA4;&#x5E73;&#x94FA;&#x5C55;&#x5F00;&#xFF09;</td>
<td>String</td>
<td>&#x2014;</td>
<td>-</td>
</tr>
<tr>
<td>text</td>
<td>&#x6587;&#x672C;&#x5C5E;&#x6027;&#x5B57;&#x6BB5;</td>
<td>String</td>
<td>&#x2014;</td>
<td>text</td>
</tr>
<tr>
<td>value</td>
<td>&#x503C;&#x5C5E;&#x6027;&#x5B57;&#x6BB5;</td>
<td>String</td>
<td>&#x2014;</td>
<td>value</td>
</tr>
<tr>
<td>defaultSelect</td>
<td>&#x9ED8;&#x8BA4;&#x9009;&#x4E2D;&#x6570;&#x636E;&#x96C6;&#x5408;</td>
<td>Array</td>
<td>&#x2014;</td>
<td>&#x2014;</td>
</tr>
</tbody>
</table>
<h3 id="event">Event</h3>
<table>
<thead>
<tr>
<th>&#x4E8B;&#x4EF6;&#x540D;&#x79F0;</th>
<th>&#x8BF4;&#x660E;</th>
<th>&#x56DE;&#x8C03;&#x53C2;&#x6570;</th>
</tr>
</thead>
<tbody>
<tr>
<td>select</td>
<td>&#x9009;&#x4E2D;&#x503C;&#x53D1;&#x751F;&#x53D8;&#x5316;&#x65F6;&#x89E6;&#x53D1;</td>
<td>&#x5F53;&#x524D;&#x9009;&#x4E2D;&#x9879;&#x503C;&#x96C6;&#x5408;</td>
</tr>
</tbody>
</table>
<h3 id="slot">Slot</h3>
<table>
<thead>
<tr>
<th>&#x63D2;&#x69FD;&#x540D;&#x79F0;</th>
<th>&#x8BF4;&#x660E;</th>
<th>&#x53C2;&#x6570;</th>
</tr>
</thead>
<tbody>
<tr>
<td>-</td>
<td>&#x9879;&#x5185;&#x5BB9;&#x7ED8;&#x5236;</td>
<td>item</td>
</tr>
<tr>
<td>group-title</td>
<td>&#x5206;&#x7EC4;&#x6807;&#x9898;&#x7ED8;&#x5236;</td>
<td>item</td>
</tr>
</tbody>
</table>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="../" class="navigation navigation-prev " aria-label="Previous page: 简介">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="../ibiz-select-tree/" class="navigation navigation-next " aria-label="Next page: 树选择组件">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"分组卡片组件","level":"1.2","depth":1,"next":{"title":"树选择组件","level":"1.3","depth":1,"path":"ibiz-select-tree/README.md","ref":"ibiz-select-tree/README.md","articles":[]},"previous":{"title":"简介","level":"1.1","depth":1,"path":"README.md","ref":"README.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":[],"pluginsConfig":{"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"ibiz-group-card/README.md","mtime":"2020-05-22T13:12:09.352Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2020-05-26T14:04:40.171Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

